package com.wanmait.baohan.mapper;

import com.wanmait.baohan.pojo.Department;

import java.util.List;

public interface DepartmentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);

    //高文强 查出所有部门的名字
    List<Department> selectAll();
    List<Department> selectFindAll();
}